package generator

import (
	"gitee.com/yanwc/ebike-vcom-device/internal/field"
	"github.com/brianvoe/gofakeit/v6"
)

func RandomYktHelmetFault_1() field.YktHelmetFault_1 {
	r := gofakeit.Number(0, 100)
	if r > 50 {
		return field.YktHelmetLockFault_1
	} else {
		return field.YktHelmetUnLockFault_1
	}
}
